package com.ruoyi.project.demo.log.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 答卷管理对象 db_question_log
 * 
 * @author demo
 * @date 2020-04-23
 */
public class QuestionLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 问题id */
    @Excel(name = "问题id")
    private Long qId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uId;

    /** 答案 */
    @Excel(name = "答案")
    private Integer answer;

    /** 得分 */
    @Excel(name = "得分")
    private Long score;

    /** 测评批次id */
    @Excel(name = "测评批次id")
    private String indexId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setqId(Long qId) 
    {
        this.qId = qId;
    }

    public Long getqId() 
    {
        return qId;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setAnswer(Integer answer) 
    {
        this.answer = answer;
    }

    public Integer getAnswer() 
    {
        return answer;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setIndexId(String indexId) 
    {
        this.indexId = indexId;
    }

    public String getIndexId() 
    {
        return indexId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qId", getqId())
            .append("uId", getuId())
            .append("answer", getAnswer())
            .append("score", getScore())
            .append("indexId", getIndexId())
            .toString();
    }
}
